package com.kuai.door.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.kuai.blog.service.ISectionService;
import com.kuai.common.result.entity.Result;
import com.kuai.door.mapper.SectionMapper;

@Service
public class SectionServiceImpl implements ISectionService {

	@Autowired
	private SectionMapper sectionMapper;
	
	@Override
	public Result allSection(Map<String, Object> params) {
		List<Map<String, Object>> result = sectionMapper.all(params);
		return Result.success(result);
	}

}
